Remove event delegation from the render method