Added collision detection for a single point.