fix crash when dragging the last item in dragAndDropListView