Add flicker compensation