VE-1598: Gallery caption re-rendering