Add workaround for large polygon centroids.