Fix bug where loading a different page and returning to videos breaks everything