Fix potential crash when the last text input line in the SVG Text Tool is a single character
CCBUG: 392027