Fixes on screen keyboard to only appear for Android devices.