Fix 1675309: CanvasView::close() was previously just hiding the canvas, not closing it.