Better collision detection.