fix mouse/touch events

mouse/touch end events were firing when off canvas,
resulting in attempts to create actors at that point
throwing a box2d error. Now these actions only fire
if their target was the canvas
add reset function