[DF-4817] - shadow offset and color are made state-aware.