title: UIBarButtonItem positioned correctly in debug version but has offset on release version?
body: <p>Im setting a UIBarbuttonitem like this:</p>
  
  <pre><code>    UIBarButtonItem *dismissButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"Dismiss"] style:UIBarButtonItemStylePlain target:self action:@selector(dismiss)];
      dismissButton.imageInsets = UIEdgeInsetsMake(0, 5, 0, 0);
      dismissButton.tintColor = [UIColor whiteColor];
      [self.navigationItem setRightBarButtonItem:dismissButton];
  </code></pre>
  
  <p>The button is positioned correctly when i run it on my device from xcode:</p>
  
  <p><img src="https://i.stack.imgur.com/SCoU0.png" alt="enter image description here"></p>
  
  <p>But when installed from testflight its off to the right:</p>
  
  <p><img src="https://i.stack.imgur.com/8xLJV.png" alt="enter image description here"></p>
  
  <p>Any idea why ?</p>