Completely shut down monitor capture when it's not being shown in the program (for example in a different scene). This fixes an issue where it would cause lag when a game enters fullscreen mode.