Contao 3.2 fixes for gallery content