If you are in the 2D platformer blueprint demo:
This is a problem with the UpdateAnimation function for the player blueprint. UpdateAnimation is only called when InputAxis MoveRight is fired and this leads to some desync issues. If you set the UpdateAnimation function to Replicate as “Run On Server” it will sort it out. Ideally you would set up the update animation function somewhat differently to avoid the issue entirely.