I’ve alluded to his before in another thread, but this has been an ongoing issue on later macOS versions for quite a while. Not the biggest deal, but it’s an eyesore, and hard to stop noticing it once you start.
I think this happens with all subwindows, but it’s very easy to reproduce with dropdown menus: