added ui redraw timeout