Just FYI, your addon code gets reloaded and re-executed every time you reload the UI or log back in. Using PLAYER_ENTERING_WORLD for that purpose does nothing. What it does do, is rehide the texture every time you see a loading screen (zoning into an instance, for example). I don't think the UI tells the texture to reappear in this case.