fixed fullscreen blankscreen bug in os x