macosx: fix visual fullscreen glitch when exiting VLC on Mavericks (close #9604)