EffectInstance: add asserts to debug wrong scale argument