Fixed problem with step dimming