Bug 1013155 - (Part X) Fix a race when keyboard launches loads faster than inputcontext

(Happen on Peak with OPTIMIZE)