ToSVG respects viewport transformation