Fix first navigation using pushState (bug 866273)