Correct dragging of several objects.