Image is streched after downloading from server


I have C# code that donwloads pictures from server and shows them:

    IEnumerator downloadImg (string url)
		Texture2D texture = new Texture2D(1, 1, TextureFormat.DXT1, false);
		WWW www = new WWW(url);
		yield return www;

		Sprite image = Sprite.Create(texture, new Rect(0, 0, texture.width, texture.height), new Vector2(0.5f, 0.5f));
		renderer.sprite = image;

In my editor it shows the result like this:

But when I build to web, it shows this like that:

(Don’t mind background)
Looks like it streching image. However the size of images remains same, I do not understand why.

What I need to add in my C# code to show it exacly like in Editor?

P.S Max resolution of images are 263 x 163

instead of sprite you could use
and GUI.DrawTexture()

GUI.DrawTexture(rect, image, ScaleMode.ScaleToFit, true);