I have latest macOS Big Sur and the latest ST4 build.
In the screenshot in the bottom right there's a white square. In the left sidebar that square is dark. It appears only when a horizontal scroller appears.
I think it makes sense to make these corners the same color as the scrollbars background.