dbmanager: fix adding views to canvas (fixes #10688)