bugfix - return closure'd rendering function