Thank you for clarifying
There is a bug where it doesn't show the correct amount of magic
Sorry in advance if you already knew this.
Edit: It seems to count the total amount of magic you ever had and not how much you currently have