AppendChild is supposed to move a node if it already in the document. Shouldn't it move it without changing its state?