Changed the order that grid vertices are stored for motion blur.

This makes things slightly slow in some cases, and slightly faster in
others.  But it makes code in various places simpler and more obvious.