moved checkKeysPressed to draw() vs gameloop()