I don't think the d-pad has an adjustable deadzone to begin with. Without seeing the project or being able to test I can just guess. My guesses in order of confidence:
1. Your controller d-pad simply is a bit "sticky" and that's just how the hardware works. You could try a different controller or try keyboard controls for a test.
2. Something in your setup of events isn't quite right
3. Maybe it's just a matter of input latency, e.g. if you release the d-pad and press X in such quick succession before the release of the d-pad registers. This would be 1/60th of a second though at most I'd assume, so if the window for this missinput is bigger, it's probably the "sticky" d-pad.