Guard against render(undefined)

render(undefined) was doing absolutely horrible things. I found this
problem because I passed an undefined variable as the first argument.
This ended up changing containers on controllers and doing other
absolutely horrible things.
Merge pull request #2015 from twinturbo/render-fix

Guard against render(undefined)