contour-transform fix