fix for Polygon.intersectsPolygon logic error