Fix warnings in EffectsScript