Fixzed a bug where move to same posisition could occur