small performance fix

this removes the unnecessary overhead of getting a uniform for every object