only add mouseout listener when listening for pointerleave events.