Revert "* don't call ui_inventory->getContainer2 twice if once is enough"

This reverts commit 81e7ca1d2a5703f0cd55897f45d542874cd904e1.

The item variable could have been replaced with the item from another container