Fix session input auto focus issue.