Make auto-reloading of materials 'work'