Fixed bug with input system that prevented catching which frame a key was pressed/released.