Fixes for new AoiCropping algorithm. fixes #10