Fix stupid memory leak when switching between materials. We load all the textures once and for all...