Fix top menu home button not working since Ajax page loading (fix #417)