Fixes UI error

Fixes the current issue of equiping items in the UI slots
Merge pull request #415 from VampB/master

Fixes UI error