Fix a crash in iOS7 when used with HPGrowingTextView

This is not accepted currently by the original author.