Materials null reference fix.