VertexShaderGen: Correct vertex shader output to consider shifted pixel centers.

Fixes issue 267.
Merge pull request #306 from neobrain/pixel_center_correction

VertexShaderGen: Correct vertex shader output to consider shifted pixel centers.