I wrote this code to capture screen footage by taking screenshots everything second, however the OpenCv window cascades the screen when it\'s clicked on. Image: https://imgu