Fixed bug when program populates list of uniforms