Fixed a bugg with the inventory GUI

Signed-off-by: Rikard Johansson <rillee.johansson@gmail.com>
Merge branch 'master' of https://github.com/Malow/NotDeadYet
Merge branch 'master' of https://github.com/Malow/NotDeadYet