title: Issue with window cocoa xib
body: <p>I am working on a MAc osx application. I have created a window with different views: Scroll view, tab view etc., I have an issue with the window created. If I run the application, </p>
  
  <p>First time - window is created as per the dimensions given in the XIB.</p>
  
  <p>Second time - If I stop it, and run it again,  the window is compressed - table view compressed. and thereby every other item is not at the right place. </p>
  
  <p>Third time - And If I run it again, then it all looks fine, like it was at First time.</p>
  
  <p>Fourth time - Corrupted like that of second time. </p>
  
  <p>...Like this, I am getting wierd window output at alternate times. </p>
  
  <p>Please help!!</p>