EffectInstance: check scale and image dimensions before launching render
fix warnings