For some combinations of font and font size, text labels in the sidebar
are rendered incorrectly, i.e. the right and left border is cut off.
This is a problem internal to the text label and not related to the
containing widget, as this even occurs when a wider text label above or
below still renders fine at the same horizontal position.
This fix is adapted from a similar fix to plasmate in R855:f3d78281.