Fix Document:adoptNode() to work correctly with previous commit