fixed false intersect error when editing non-endpoint in polygon, #203