fix renderEffects