PopupMenu missing mouseExit

When we show a PopupMenu after a mouseEnter event, the mouseExit event is ignored. I found the exact issue discussed here :

I also noticed this issue with all component that display onDesktop, or enterModalState like FileChooser. Currently, I just manually call the mouseExit before the PopupMenu, but seems nasty to me.

Is there a clean fix about it ?