fix Segment2.closestPoint