GRC: fix key event handling while the search box is active