Fixed the avatar position issue