fix to image cropping, disalloq crop-coordinates ouside of tile size