Fix a bug in Polygon2D::contains()