Assuming you're referring to the comment above, this doesn't fix it. The problem is that this overwrites any event listeners that are currently in the canvas.