[DF-4622] Fixed UIEditor crash at lounch for MacOS