Hide keyboard when anything but the search bar is pressed.