fixed a bug (bright white pixels not changing to black anymore)