Revert "Fix bug with wrong tooltip offset"

This reverts commit a2a066c599c426a8f593b1d66b69ad5d7274960b.