Fixing SVG renderer behaviour concerning hidden nodes.
Fix #486