Fix for crash with SceneParticleEmitter::setParticleTexture