Fix file internal links having different effect on history as compared to links that cause a new file to be loaded