fix a bug with mixins and :render methods