Fixed crash when trying to drag items after the reset operation.