inputmethod: do not deactivate the context when key is pressed
When keyboard_grab is implemented, if we reset the inputmethod context on any key, input method will not get keyboard input and will not be able to use it.
When keyboard_grab is implemented, if we reset the inputmethod context on any key, input method will not get keyboard input and will not be able to use it.