Fixed focus loss from jQuery Mobile init (#2533).