Better keyboard handling on small devices and with some keyboards