[canvas soft crash] Strange “on error” issue