4th line miscalculation on iOS 7. Also fixes pasting larger amount of text.