Fix additioanal popstate on page load