When the overlay is being drawn reading the elements near the native menubar, dynamic menu bar should ignore reading the input from overlay elements. for example, it should not read the overlay coming from apps like rectangle that show a window position bar, or notch apps like droppy (I am a contributing developer to the app).
This value read from dynamic bar, leaves an unexpected drawn in the menubar overlay that is unsightly and takes away from the seamless experience the dynamic overlay has at this time.
I have attached some screenshots for reference.