Redraw optimization