In X2 (not sure what it is in 8.3)
Edit -> Preferences -> Project -> Clock.
Is clocck source set to audio ?
Also disable all you MIDI inputs for the tracks (Channel=none).
Unplug any MIDI cables not needed.
Check the MIDI clock settings of the drum machine, and the driver settings assuming it is being played back live from Cakewalk.
Cheers..