Fix goal collision detection.