For some reason, the border of the windows changes when you put the cursor in a button; they get darker, and the color extends beyond the border.
Here is an image of the issue:

My Windows is Windows 10 Pro - 22H2
The same issue occurs even when Aero is not activated, such as with the gadgets of Gadget Seven, which get a bug in the background, displaying a non-transparent border:

For some reason, the border of the windows changes when you put the cursor in a button; they get darker, and the color extends beyond the border.
Here is an image of the issue:
My Windows is Windows 10 Pro - 22H2
The same issue occurs even when Aero is not activated, such as with the gadgets of Gadget Seven, which get a bug in the background, displaying a non-transparent border: