No key events come in when the Tools Panel is selected, unless you explicitly press the button first.