Extracting screen clipping dimensions