Fixed memory leak issue in character selection screen