Movement problem by using only Teleportation

Hi,
I am having an issue with my movement system for the HTC Vive. I try to give players the option, to only use teleportation or, if they so wish, they can slide (personally I prefer that, but others feel sick). The problem is the following: The teleportation system only works, if I have slided before I have teleported. Otherwise it will teleport me incorrectly (wrong location, correct line trace). I had set up something similar for mouse and keyboard controls and everything seems to work fine.
I cannot find my mistake. Please help!

You have to show us your movement system before we can help you.