Get rid of any focus after create the main frame.