Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). (#4640)

Broken since 936f5322
Weirdly chain-reaction caused by the fact following #4640 repro, the SourceWindow assignment in OpenPopupEx() picks Menu_04 before its closure. Value of SourceWindow since bda2cde6 #2517
2 files changed