Fixed teleporting movement bug