fixed bug where leaving-listeners would see elements as entered immediately