Capturing the image displayed on the monitor