Fixes a display problem from Contao version 3.3
Adds compatibility with Contao 3.3+