Bugfix node selection order when creating non-terminals in UI editor.