Fix bug with user-defined size and crop option

If the output-size was defined by user crop didn't work