Bound mouse handlers to canvas instead of document.