fix inconsistent reference to render attribute in render()
Merge pull request #50 from kaosko/master

Refering to render attribute within render() was inconsistent (thanks kaosko)