Turn off bounding boxes upon docking (fixes #386).