v4: Fix bugs in multi-crop functionality