Capture a Screenshot on MacOS