Bugfixes for contao 3.