Missed counter works, game does nothing when exiting