Fixed bug in guishell.