Partial implementation of the crop preview (nb: does not scale correctly).