Added a fallback for browsers which support canvas but not SVG.