Fix: Add correct behaviour for crop and expectedSize.