Fixed an issue where key input was ignored

The issue was due to the KeyListener losing focus. To stop this, all
buttons were prevented from being focusable.