fix iPad keyboard focus problem