Prevents inserting element into documentFragment