Lazy Loading Causing certain pages to return to root after loading

On certain pages, after I load them, it shows them for a second and then returns me to my Login page. It only happens on a few of my pages, and it only happens if I navigate to them a certain way. For example if I visit the same page from the .gif above from a different page, it loads and displays fine. I am baffled by why this is happening.

nvm… I figured it out