hi,
you first need to understand where this lag comes from. Difficult to say as is really. Are you sure you are not using some delay somewhere or wait for the anim to end or something? maybe you have mess your input settings and release a key takes time to have its input value back to 0?
bye,
Jean