Change MaxWindowSize and WindowRightButton variables