set index as 0 when setTexture