core: API handlers might need to be pumped once to get the first focus event, so queue the setting of the initial focus. The focus is only forceably set if there hasn't yet been a focus event yet and there is no focus event pending.
Fixes double speaking of the initial focus on some controls.
Fixes #1359.