Work around element size rounding issue on OS X

Also fixes a problem where individual gutter backgrounds would not
fill the space next to the horiz scrollbar.