When transfering to another map...

There is this weird problem I get when I get transferred to another map THROUGH a map. When the next map loads, I walk forward and I don’t stop. I am not even pressing anything and my character keeps moving forward. I have no idea how to fix this. Can somebody help me out with this? Thanks.