Workaround for #2. Do not call the orientation callback. Always call the keyboard show/hide callback.