This happens in any view. It seems to be the order that the detail is drawn. Ie. If the detail rectangle is drawn from bottom left to top right, it seems to work fine.
No error messages, but there is an error message in the 2D script, however this was also in ArchiCAD 16. 17 must handle it slightly different.
I would much prefer to use the standard built in marker, but it doesn't allow for a multiline drawing number, which we require for our very long drawing numbers (sometimes 15 digits, which is client driven)
Does anyone have the GDL code for the built in marker?