fixed render issue

this branch wasn't supposed to be called "backup". ah well...