Update line.class.js

Fixes custom width and height for svg export in lines
Merge pull request #1701 from asturur/fix-lines

Fix export of lines with custom width and height