The tabs of the window show odd borders not coinciding with the boarder of the tabs. This is a consistent problem and stays even when there is only one tab open. To show exact what I mean by the glitches. here is a gif video. (Imgur)
MacOS: 11.5.2 (Processor 2.9 GHz 6-Core Intel Core i9, Memory 32 GB 2400 MHz DDR4)
Please advise how to deal with it. Has anyone else noticed similar problems?