Fixed unnecessary mapping over keysPressed