crop now takes a rect too