Fixed bug in handling X and Y dimensions in marking stars after a non-symmetric crop.