Why does my GUI layout get messed up in player

When I publish to the stand alone player all of my GUI elements and texture GUI buttons are all out of whack… Why?
How can I fix this?
What I see in the game editor is not what I get when published.

What you see in the editor is probably based on the current size of it. GUITexture and other GUI component requires a hardcoding system most of the time.

If you place them at 0.5, 0.5 then it will be in the middle all the time, but I have noticed that if you parent the object, then it does not work.

What I do is to make them child so that it is clean in the hierarchy, and then modified the pixelInset by code.

void Start(){
    float size = Screen.width /20f;
    Rect r = new Rect(Screen.width - size, 0, size, size);
    guiTexture.pixelInset = r;
}

I think this will go top right corner but you get the idea that it will get always in the same spot.