Why are you maximizing the window after launching it in a window? Why not launch the window in a bigger resolution? When you change resolutions the ui stays where it is. Go into your config.wtf and put in a resolution that equals the maximized resolution and set the game to windowed mode.