Fix rotation bug of avatars.