createMarkupInternal should protect its pointer to the Range's common ancestor