Fix crash when exporting SVG with support material. #2188