Fix firefox bug with SVG when using D3 map