Tweaked setContainedItem