fix the wrong measured height for SDK6+iOS7