Checked on my VM (Mojave 10.14), and can confirm the issue, but only partly because there is also a top line, and this looks exactly the way how a HeaderControl (the upper control in the attached screenshot) is painted. I don't have much experience with mac, but could it be that this is the way the cocoa "themeservices" draw a header?