Fixed IsKeyPressed bug