Yaru-MATE sharp edges when tilling

I was wondering if anyone have noticed, and if so know how to fix it: Whenever I tile a window, I notice that the corners get sharp edges. It appears to occur regardless of the Panel Layout, Compositor or Scaling.

1667942670

I have noticed that the behavior is not present in the Brave window, unless I mark the "Use System Title bar and border" option.

1667942640

This behavior also won't happen if you use the TraditionalOk theme.

As I know practically nothing regarding themes, I have tried to add as much information as I can.