Workaround Firefox SVG issue.  fixes: 18062

This is an enhancement to the original IE fix for mis-rendering of SVG during animation due to browser bugs.  It adds in a workaround to a similar Firefox issue due to Cairo.   ​https://bugzilla.mozilla.org/show_bug.cgi?id=847153

This is related to dojo bug:
https://bugs.dojotoolkit.org/ticket/18062