Merge "fix(magnification): Fix the test of saving and restoring window size preference" into main