Fix tooltip position when used with QQuickWidget

Task-number: QTBUG-39878
Change-Id: I1df4e7b7b17a11234e2569d6502aa9618a590acd
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>