Optimize redraw slightly.