Fixed bug where changes to the inventory were not being shown