Fix crash with -novertexprogram