Fix layout screwing (again), and preserve size on WM_SETTINGCHANGE