fix curved polygons in 3D board conversion