Bugfixes for Contao 3.