Fix editor UI string property crash.