Fix case for curved edges when centroid is identical to the midpoint of an edge