Fix Avatar display issue after login