CCEffects - Fix handling of nil environment nodes