If you press the ALT + F4 combination while in-game, and no GUI (like Player Inventory, Loom, etc.) are opened, upon pressing the key combination it will brings the Game menu instead of closing the game, if you press the combination key outside of the game or when inside a GUI it will correctly closed the game.
Steps to reproduce:
While in-game and no GUI are currently opened, press ALT + F4
Notice that the game brings Game menu
Resume the game, then open Player Inventory and then press ALT + F4
The game closes
Expected results:
The game closes even if you're not inside a GUI.
Observed results:
The game brings Game menu instead.
Note that you should never close the game except by using “Save and Quit”. Force-closing the game while in a world can result in data loss including complete loss of the world you have open. Any bugs resulting from force-quitting the game are considered Invalid.