Rhino / Grasshopper Layout objects outside detail

Hei,
as you see in the picture above, how it is possible to show geometries from detail. As i understand the layout is aligned on xy world so thats why it also shows geometries that are aligned there.

I would like that automatically layout detail can only show the geometries(Which are in this case a bunch of curves).

BR,