Fix which widget is chained to the key-press-event.