I'm not sure that this method is that un-reliable, but sure we can keep it in test world and eventually move it to lib if needed or if this behavior is fixable in the platform code ? (it sounds unlikely as focus seems to be one of the most painfull platform-specific thing you can think about ;))