fix Canvas.js: fix quickly exit
resolve conflict