[BUGFIX] Carousel: Enable rendering of optional Caption

The captions on a carousel were not rendered, because the for-loop was closed too early.

Fixed this and enabled the usage and rendering of the "Optional header for caption" and "Optional caption body text" fields in backend.

Hope the patch is fine this time :)