Cropped ufo image; fixed boundary checking.