editor: Add polygon centroid centering.