Make sure to unsubscribe the renderer when the element is destroyed