Fix for issue #4

Pass DOM element to get_offset() for non-BODY selector