add firefox support - event.offsetX