added dirty bit to text node to fix ordering problems