Don't switch when TAB was used to change to the input field