Corrected color temperature inversion and max brightness bug