The reason as to why this happened is that having over max mana is something the game doesn’t allow.
Some people actually use this as a tanking tactic (since getting stoned like that makes you invincible).
Be careful when buying mana to prevent this outcome.