Refactored hit detection code from MessageComposerView to growingTextView:willChangeHeight: delegate method