fix(tooltip): fix positioning error when appendToBody is set to true

Closes #387

use offset function instead position function when appednToBody is set to true