Dist for Polygon.contains fix