[DF-1670] fix crash on click on material editor