It's caused by the script you have in OnOnline and OnPreviewRender that is converting the text from all lower case to all upper case (it is probably wordwrapping based on the lower case widths, then the script changes it to upper). If you remove that script it starts working correctly. If you want all upper case then you can set the "Sml Caps" property of the font to 100% and anything you type will be converted to upper case automatically.
#XPression