Fix an event binding leak