editor: fix missing passing of canvas object reference