Fix a bug that view won't move if using a 3rd party input method.

I should thank you first that I use your codes in my projects for a long time.
And I find a bug about using the 3rd party input method in iOS 8, the scroll view won't move.