Firefox fix for e.offsetX