SVG Painting: parsing stroke-width with invalid values