fix cropping for plone4.2 and 4.3