Fix polygon geometry (fill and outline) after merge.