Use percentage for radius of radial SVG gradient.

As suggested in #1225