I ran into this problem.
I've put a container inside of himself (into the first free slot) and this has disappeared into the void.

I think it would be better to automatically close the container as soon as you try to move them.