Fix zero brightness bug.