Update when dragging and zooming.