Fix wrong URL in addressbar after going back