solve problem that deviating capture area with zooming

yours looks good! I'll write it