fix for incorrect top contentInset. Only support iOS 8.