nleghostpad: Deactivate pad before removing it from the element
Otherwise we might have a pad floating around that is still activated, or even finalize a pad that is still activated.
Otherwise we might have a pad floating around that is still activated, or even finalize a pad that is still activated.