Fix strobbing of the brush outline becasue of subpixel precision
The patch basically aligns the center of the outline to the pixel grid of the widget.
BUG:374551