Set avatar position according to player position.