Fix iOS focus issue