Fixed the random repositioning of the gui window in windows