Fixed some inventory issues

Holstered items are now removed correctly when moved to
inventory/container.

Hats are now moved to inventory/container instead of being deleted when
clicked sometimes.