When recompiling a shader, after one has already been compiled/drawn, uniforms aren't re-uploaded, causing really trippy shit.
This should be fixed by giving the uniforms default values when compiling and marking everything as unchanged after compilation.