Added a workaround for resetting the bounds in WM_DISPLAYCHANGE in case only the refresh rate changed.