pls why does my gui window disappear when i click it?

pls why does my gui window disappear when i click it or the objects in the window?

cause your on a mac and on macs all the sub windows get buried behind everything

Actually I'm on windows, It was just a run time error I kept overlooking, I guess it kept breaking the onGUI method, cheers guys.