Fix bug when clicking on quit button of army window