Are you trying to trace reference a "view map" item? If you are referencing a view with a different layer combination than the current window, it will do that.
The way to get around that is reference from the "project map", which will not change the layer combination. Of course, that means you won't see some things (such as roof on the exterior elevation if you are on the plan layer combination).
It may need a bit of a different layer organization to do exactly what you want, but in general I believe it's fine for referencing 2D xrefs, 2D drafting views, etc. It's also great for referencing the layout view. This eliminates the need for a grid object for me.
ArchiCAD 25 & 24 USA
Windows 10 x64
Since ArchiCAD 9