Fix for new sub material addition