Fix in sourceTexture logic when setting a programs array.