Fix crash on iOS when reloading page from remote Safari