Fix warning in PauseMenuScript & HudScript.