Fix of the dragging ability.