Fixed redraw error.