Adjustments for dim/undim.