How can the cradle be returned to the initial position so that the boxes do not pass through the cradle?

How can the cradle be returned to the initial position so that the boxes do not pass through the cradle?

check AutoHoming in crane component properties:
