EffectInstance: make sure image was initialized by locking it