pub fn adjust_geometry_for_injected_parent( injected_parent: &ElementRc, old_elem: &ElementRc)
Make the geometry of the injected_parent that of the old_elem. And the old_elem will cover the injected_parent
injected_parent