above_view = e_view_client_view_get(PRI(above)->view_client);
if (e_view_parent_get(ec_view) != e_view_parent_get(above_view))
- e_view_reparent(ec_view, e_canvas_layer_view_tree_get(e_comp_canvas_get(), e_canvas_layer_find(e_comp_canvas_get(), above_view)));
+ e_view_reparent(ec_view, e_view_parent_get(above_view));
e_view_place_above(ec_view , above_view);
below_view = e_view_client_view_get(PRI(below)->view_client);
if (e_view_parent_get(ec_view) != e_view_parent_get(below_view))
- e_view_reparent(ec_view, e_canvas_layer_view_tree_get(e_comp_canvas_get(), e_canvas_layer_find(e_comp_canvas_get(), below_view)));
+ e_view_reparent(ec_view, e_view_parent_get(below_view));
e_view_place_below(ec_view, below_view);