Bugfix object.opacity == 0 in svg output

If object.opacity = 0 the svg output sets opacity to 1.
Closes #571