How to capture specific portion of the screen