Added a check to see if the ball is heading towards our goals.