Fix handling ENTER key on link input