Using menu inside menu leaves first menu open in background

Adding the code below and opening "Bag" and then closing "bag again wil give the following result.
Screenshot 2022-03-29 at 21.05.32
Normally when selecting an option in the menu it will automatically close the menu. In the example below this is not the case, so this is probably a bug.

If this is not the case then we should be provided with an alternative command that closes the dialog since now we are in a state where the menu is no longer closable.

on showFirstMenu do
	menu at 0,0 then
		option "Bag" then
			call "fightShowSecondMenu"
		end
	end
end

on fightShowSecondMenu do
	menu at 0,0,10 then
		option "Return" then
                   call "showFirstMenu"
		end
	end
end

You might want nested menus when making something like an RPG.