fix single zoom and box zoom issue