Firefox misses offsetX at the parent of the SVG tag.

Get value of offsetX from originalEvent.layerX.