Still refactoring a lot in CanvasView.