Support canvas in SVGContainer hit testing function

TODO: dragging of atoms still doesn't work, WIP.