[DF-1092] Fixed crashes at UIEditor