fixed a bug in which the view would not alwayse redraw.