fix KeyEvent focus