Detach the dragging element from the DOM.

This ensures the :first-child and :last-child selectors will not be applied to
the hidden dragging element.