button redraw fix