SVG renderer's gradient referred to document.location.toString() + #hash, which broke gradients in pages that already contains a hash