Fix dimmer for mobile devices.