Fix DockingFloating rect calculation.