handle uniform buffer binding correctly