added death event for DOM and Canvas