Make sure vai->flags are set while hashing.

Since we decode the verts in this case we have a fresh flag.  Might
be #5718?
Merge pull request #5725 from unknownbrackets/vertexalpha

Make sure vai->flags are set while hashing