Possible fix for #165 - Text turning into NaN