On Direct2D, the fill and outline of rounded rectangles are drawn separately but do not merge quite seamlessly when both the fill and outline are the same colour and translucency. There are some small light patches in the corners as shown in the image.
Enlarged:

This can be fixed with a special case when the colour and translucency are the same, drawing with a single call as shown in the patch.
A different approach, changing the radius on the fill also fixes the light patches.
Committed [1b8ce5], the simpler change that just modified the radius of the filled rounded rectangle.
Related
Commit: [1b8ce5]
Committed [1b8ce5], the simpler change that just modified the radius of the filled rounded rectangle.
Related
Commit: [1b8ce5]