Fixed appendToBody tooltip / popover positioning bug

Use $position.offset instead of $position.position if appending to body