Temporary workaround for avoiding crashes while creating SVG