Added code to change the window size when resolution is changed so GUI lines up