[DF-185] Fixed crash at schanging of matreials