Improve button border drawing.