Fixed a bug with increasing the brightness