Fixes external keyboard detection when using a UITabBarController. Closes #38