XBEditor: Fixed conversion back from hex when there's no root node