fix the bug of spell book

spell book will show up once "cast spell" is clicked