Change to requestFocusInWindow

requestFocus has some bad side effects on some platforms.