Improved Cocoa video mode setting by fading in/out of black