Fix inventory dragging NPE in mod containers. Fixes #1169