Fixes for light switch brightness control