Fix so that zooming continues to work even after a box was canceled