Fixes small calculation issue in percentage-based cropping