This simplifies EffectQuickView constructors and ensures that there won't be a crash if compositing is off. (cherry picked from commit 21a17c87)