Fix Navigate.popstate on Chrome