Cropping tool: make tile size dependent on processed stacks

It was at a fixed size before. Thanks to Albert Cardona for pointing
this out.