Fixed backward compatibility for Contao 3.0