Prevent jump to page top when clicking on register button.