Changed the Texture handling

Changed the Texture handling so that the textures show up in the
inventory slot correct.