Polygon: fixing reopend issue #6366: defect in polygon 90 contains.
Merge branch '6366' into develop