This commit should fix pushstate.