Fix on the event listener

Event listener was applied on the body document.