Glitch with Nav

After a user clicks around and revisits a page they’ve already visits and tries to click the Nav button an error keeps happening where the nav links will show up without the background. I looked at the animations that are currently applied to the nav background to understand what could be causing the issue but it isn’t clear what would make that happen. Any tips on how I can fix the error?