Fix more shader bugs.