Fix issue with floating docks closing when rearragned