Fixed auto-hiding of windowed windows on OS X.