Get the offset of an element relative to body