Fixed: Histogram Equalization not working when Invert option is off.