Fix autofocus issue on mobile