diff --git a/pyblish_lite/window.py b/pyblish_lite/window.py
index <HASH>..<HASH> 100644
--- a/pyblish_lite/window.py
+++ b/pyblish_lite/window.py
@@ -1071,7 +1071,7 @@ class Window(QtWidgets.QDialog):
     def paintEvent(self, event):
         if Qt.__qt_version__.startswith("5") and os.name == "nt":
             # Only tested with Windows DPI scaling
-            scale = self.windowHandle().screen().logicalDotsPerInch() / 96.0
+            scale = self.window().windowHandle().screen().logicalDotsPerInch() / 96.0
         else:
             scale = 1.0
         for delegate in self._delegates:
get the windowHandle from window, in a wrapped context windowHandle can return None