Hide virtual keyboard on keypress