Bugfix with inventory rendering