Turns out this was caused by having w3.css in my snippets folder and set to enabled. Once disabled, my problems went away.