Jekyll page broken on build, fine on rebuild?

The first time I open up a served website, the nav bar of my website is broken and the display of the webpage is completely garbled. If I modify anything (typically, remove the 404 page from the directory), everything works on the page after the rebuild. If I end the serving and start it again, the display is broken again…