Fix to use CMFPlone's IMainTemplate on Plone 5