fixed the redraw issue with the selections