Better NSWindow animations using a layer.