this is probably not gonna be very helpfull, but just try messing around with motion in joy it will work eventualy. I have similar issues then i fiddle around a bit and then it comes right. Not exactly sure what i do though :/ Sorry...
Edit: Gona try and see what it is that i do, will get back to you :)