title: Statusbar.image has wrong color
body: <p>I am using following code for my status bar image:</p>
  <pre><code>let icon = NSImage(imageLiteralResourceName:&quot;flag&quot;)
  statusBarItem.image = icon
  </code></pre>
  <p>This leads to wrong color for certain background colors / modes. In the picture, what's white should be black. The image resource is white/transparent. If I change that, I get the same problem. All other status bar images will turn white on certain configurations, mine will stay black.</p>
  <p>I was thinking that MacOS would add effects to make all statusbar icons look uniform on it's own, but apparently thats not the case...</p>
  <p>Any ideas how to fix that?</p>
  <p><a href="https://i.stack.imgur.com/DmUSE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DmUSE.png" alt="enter image description here" /></a></p>
  <p>Thanks!</p>