EffectVisualizer: Fix aliasing violations