Fixed bug with docking tools