Fix rendering of VDW lines on Safari 5.x

[#58090282]

Manually create canvas instead of using canvg. Not sure what was the
real culprit (canvg error? Safari 5.x doesn't support dashed lines?).