Fixed broken redraw.