There's been some issues with the CK/Shimano XT combo, I've experienced similar as you, basically the solution is that you can put a thin spacer behind the cassette (some have had success in getting one with an XT cassette, or having Shimano send one out), or use a lockring that has more threads (CK sells one; I found one from an older Shimano cassette I had in the garage).