Fix pressing of typewriter buttons when no control is selected.