Fixed bug with crop.