Fix for ResizeBack() in dialog layout (wasn't resizing scroll view properly, in some cases)