Update line.class.js

Add translate to fix toSVG method