UIEditor crash fix after merge.