Fix weird looping move on access to the page with hash