Update render.py

Incorrect variable name