Fixed clicking then pressing enter reloading the page