Fix NPE in EffectTrail