It also happens with the 8-directional movement on occasion.
I have a problem with it on Chrome mostly, but other browsers seem to be fine. Apparently it's to do with graphics drivers.
There's nothing really you can do about it, but I will look into it some more.