added redraw on focus command