Removing overlay event listener