Firefox compatibility issue with polyseg surface to contour conversion