Brightness slider bugfix