iOS on focus bug