Fixed the mobile input bug