Fix the bug when focusing input on mobile