Fixed dumb return bug in render() function for image field