Cast dimension return values to int in order for _ImageCrop not to break

Casting the dict values to int fixes https://github.com/bfirsh/needle/issues/22