Fix Text object glitch with empty strings.