GUItexture not accepting mouse clicks

I applied a script to my guiTexture and it stopped accepting mouse clicks…anytime i disable the script the texture accepts mouse clicks.The script is below.

var x,y,a,b:float = 0.5;

    function Update() {
        var myTexture:GUITexture = GetComponent(GUITexture);
        myTexture.pixelInset = Rect (x*Screen.width, y*Screen.height, a*Screen.width, b*Screen.height);
    }

I don’t personally know myself. But, I found this video and it helped me make mine.

Keep in mind this is a 2 part video.