bunu aşağıdakiyle değiştirip deneyebilirsin
ui.py
def SetPosition(self, x, y):
wndMgr.SetWindowPosition(self.hWnd, x, y) /arat
def SetPosition(self, x, y, flag = False):
if flag == True:
self.exPos = (x,y)
wndMgr.SetWindowPosition(self.hWnd, x, y)...