Fixed a small bug with equipping items

* If an item was already equipped, the previous item would be lost