solve problem that deviating capture area with zooming