Only showing clear button if the view has focus.