Minor bug fix

Setting uniforms should be done after glUseProgram.