Fixed textcontrol focusing. Set focus alse after 500 milliseconds, because currently textcontrol lost focus everytime in most of browsers.