Workaround Firefox SVG issue, fixes #18062