Inventory: Fixed the bug when a random event adds an item