Fix fabric.Image SVG output - Closes issue #977