Fix checkbox tpl rendering