(1.2.4d) Automatic enable and disable of hud when you switch to game and from it