fixed bug with syncronization when two players try to move in different directions