update panzoom (fix memory leak)