Merge "fix(magnification): Clear button status when restoring the window size" into main