Prevent the ball from going into 'loop' state