Merge "Keeps the Y position with the same height ratio before the window height is changed" into sc-dev