Workaround pushState errors 1.1 (bug 1063575)

See https://bugzilla.mozilla.org/show_bug.cgi?id=1063575#c8 for more description.