fixed engame keystate