Yes that is expected behavior, also when the right or mid button is pressed.
That is because the mouse operates in its current context. It keeps the state of that context. Only when NO buttons are pressed mouseenter/mouseleave picks up the new context.