[TIMOB-9502] Delay focus events till window is opened

Fixes [TIMOB-9502](https://jira.appcelerator.org/browse/TIMOB-9502)