Gui: improve window placement