Fix IndexOutOfBounds when dropping an item.
Merge branch 'move-mod-compat' into forge