Train dismount bug

While in a game, I clicked on an allied hero’s train mount; after a few seconds, I cast a spell and was able to still stay mounted. I initially thought it was just my graphics messing up, but others on the team were able to see the train graphics and noticed that I was moving faster than them. I spent the rest of the game running at mounted-speed while still casting. This persisted even after enemy heroes stunned or attacked mine.