fixed small bug with text rendering on windows
Merge branch 'renderText_fix'