Fix on hiding the keyboard.