Change retryScreenshot() to retryScreenCapture():
Instead of trying to retake the screenshot with the same shareableContent var, startScreenCapture() is run to ensure proper monitor capturing if a monitor is added or removed after the first call to startScreenCapture().
Change retryScreenshot() to retryScreenCapture(): Instead of trying to retake the screenshot with the same shareableContent var, startScreenCapture() is run to ensure proper monitor capturing if a monitor is added or removed after the first call to startScreenCapture().