Eliminating initial flicker.