Fix issue of uv-mapping in sphere_sweep with segment of null size