Fix uniforms not being initialised via indexing