fix canvasfeatures block cleanup