Were you just mashing the button over and over or doing something else? You can only use it up yo 8 times until your magic refills and then have to wait for it to fill again. Thanks for playing!
I was standing still and mashing it, when my magic would be empty and I tried to keep pressing it, that's when it would freeze
Were you using a Nintendo Switch controller to play?