Fixed a bug in navigate where it would not load a new page if the link's href did not match the router's routes.