fixed material reload

textures are correctly updated now