Hide the keyboard when interacting with the menu