Adding workaround for Firefox-specific path issues, see https://github.com/phetsims/scenery/issues/214 and https://github.com/phetsims/faradays-law/issues/51