fix auto focus on ios 7