You just need to move the array filling code:
Code:
Vertices[0].X := -Scale + PosX;
...
to FormKeyDown.