Fixed Game State Loop Bug