Fix cropit

Fixes #319