The drag issue seems to be intentional:
Removing this line doesn’t seem to cause images to be deleted when dragging as documented though.