This is a known issue, it happens when the player character is replaced while jumping. I haven't investigated it much but it also happens in the jetpack mod and if they haven't found a way around it, I won't. I could just not replace the player character, I have to think about the issues that you get with that.