Fixed analysis input focus handling