Fixes for cocoa native fullscreen

This fixes a couple of issues with the cocoa --native-fs mode, primarily:
   1. A ghost titlebar at the top of the screen in full screen
   2. Incorrect behavior when using the titlebar buttons to enter/exit fullscreen, as opposed to the OSD button.