Cleaning up render.py, fixing ignoring off screen objects.