Fix shader test crash.