, cbae wrote

Why use a canvas? Why not use an img element and move it around with JavaScript?

Indeed, when you put something on a canvas it becomes part of the canvas. No more css or onclick events. Just use a div as container with "position: relative;" and put img element in there with "position: absolute;"