Fix usage of trim box. The trim box is relative to the crop box and not absolute.