Fix export of lines with custom width and height

Fixes custom width and height for svg export in lines