[TIMOB-18127] (3_5_X) Avoid Race condition

Cherry Pick PR #6419 into 3_5_X
Make sure focus is called before resetting suppressFocusEvents.
Test is in [JIRA](https://jira.appcelerator.org/browse/TIMOB-18127)