Bug fix for render callback on figcaption templates.