Fix wait key sending a movement command