Keyboard events are delegated to focused window