Fixed skillgui crash bug