Apply mode and slot creation

Updated missed apply_mode fix for diffuse texture. TextureEffect now uses text_slot.add().