Hide the IME menu when clicked outside