Added coord check when changing player position.