Moved shared uniform setters outside of the component draw loop