Handle autofocus elements in unfocus