Fixed the issue that you could only cast 1 time a spell