The only first <shadow> element is used

when the shadow tree has multiple <shadow> elements. Original tree's node is not inserted into the second <shadow> element.