Fix adjusting the messages scroll offset on iOS 8 when resizing the text field