Removed a duplicate call to render.