fix(location): prevent navigation if already on the URL