fixes for borderless OS X window