Latency or timing issues with MIDI on modern computer are mostly related to USB driver issues (again, Windows isn’t the best at this) and with having multiple devices attached to the same MIDI bus.

I’d recommend experimenting with a different MIDI interface, removing all other devices from your USB bus, or even borrowing a friend’s Mac if you’re on Windows before investing in an expensive hardware solution.