Fix a FC of keyboard due to broken logic for some devices.

So added to the mayhem and caught an issue breaking the keyboard for Moto G, need to investigate this a little more to fix it correctly, well more correctly than now.

This fix is temporary until the underlying issue is solved

Thanks to @trevd