adds cms 2.4 fix for plugin rendering