Added a justPressed and justReleased function to KeyboardInput.ts which makes pause look nice now