Fix vertex preview when framebuf is an odd size.

The previous stuff was wrong, just happened to work.