[PATCH 0/1] MR1971: Fix the screenshot function on macOS, modified from wxWidgets