Correctly crops images now