Fix slow typing on mobile