fix semi-auto cropping for djvu files