Fixed a bug with talent switcher.