Midi timing suggestion on recorded VST instruments.

It is a hardware issue mostly, as typical MIDI interfaces such as USB are often not very good for even basic tasks, hence my using such things as Parallel port based MIDI interfaces and PCI but as the OP did not specify their setup it will be difficult to diagnose any problem.