Bug 941427 - Strengthen is_displayed() and wait for it before dismissing ...

...keyboard