Fix layout problems with center and right text alignment to text box.

Pango layout width should be 6 pts smaller than text object width to account
for a 3 pt margin around layout.