Fix of scalePolygon

First point missing bug in scalePolygon fixed