Fix CreatePolygonWithHole2D problems.