Firefox-friendly calculation of dragstart offset
(personally I am not feeling very Firefox-friendly right now)