Improved handling of ellipsis in UI editor.