Fix editor priview error, skip View.isInEditMode