Fixed changing first point of a polygon should not change last point