Fixed a bug where onKey() was triggered when the key is "just pressed" i...

...nstead of when the key is "held down"