Align buttons to pixel grid

I noticed the text rendering on the buttons was blurry in the horizontal direction. This was caused by a non-integer button width, causing the buttons not to be aligned on the pixel grid. Here is a fix for that.