Rearranged resizeWindows() and fixed Dialogs resize  in LayoutGame