Fixed a bug when displaying the skill detail window.