Preserve local focus when document focus is lost to prevent the key responder stack from getting out of sync
Merge pull request #149 from mebe/preserve-local-focus-when-document-focus-is-lost

Preserve local focus when document focus is lost