Fix rendering of 0-width lines (e.g. board outlines) in SVG and Cairo renderer