ed7d88b213
Container.stillValidBlockEntity also checks the player's block interaction range plus a 4-block buffer. Guest menus now close in the tick once out of reach and ignore clicks while invalid, and the in-frame single player menu closes the same way.