Finally fixed inventory rendering