Work around among problems with ambient mode.