Fix bug and basic affordance for inventory.