Fixed an error with ball reset script