Fix menu selection by keyboard in X11.