If the enemy list gets too long when looking at a swamp tile, it progressively pushes the Close button further down without enlarging the surrounding window, until the Close button is rendered inaccessible.
Example: On the right, you can see most of the close button. The middle one still has a sliver to click on, but the left one is uncloseable once opened.