Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.