fixing Element.offset() and friends when elements are not attached to the DOM
a fix so nice we applied it twice (merging a conflict)