Fixed back button glitch that'd only get address from referrer instead of history position