[[ Bug 13167 ]] Make sure the controllost/controlgained focus are invoked before the engine focus/unfocus messages are sent.
Merge branch 'bugfix-13167' into develop