Scrolling Background Problem on Iphone 5

Hello, guys. I’ve just published my game for Iphone. I have Iphone 6 and everything works fine on it. My friend downloaded the game on his iPhone 5 and the background become a mess.

Here on my iPhone 6:

Here on his iPhone 5:

I’m using the texture offset to make the scrolling effect.
Any Ideas what could be wrong?

PS: It works fine on Android devices.

Thank You

Here’s my code:

public class BGLooper : MonoBehaviour {

public float speed = 0.1f;

private Vector2 offset = Vector2.zero;
private Material mat;

void Start () {
mat = GetComponent ().material;
offset = mat.GetTextureOffset (“_MainTex”);
}

void Update () {
offset.x += speed * Time.deltaTime;
mat.SetTextureOffset (“_MainTex”, offset);
}
}