Fix text field focus bug on ios 7