Bug fixing -- text renderer now works fine