Revert "Revert "Fixed docking distance""

This reverts commit a8b8f2f11272d183f43f301a3d1ac5cb3533b76f.