fix weird iOS focus bug