Fixed the environment menu bug

Continuous Imperfection · published · build 25912958

Fixed a bug that caused the environment menu window to remain visible even after the pause menu was closed, if the menu was closed by pressing the Esc key.