Pouring a container into itself no longer destroys the liquid

Fixes #2504.