tpl driver bugfix for objects to arrays like table, form, which have method render()