Protection added in case of length=0 string in TMathText. Wrong PS was generated.