Fixed Text not replacing nbsp chars with spaces

Fixed Text class not replacing non-breaking space characters with spaced
when rendering.