Fixed bug in where pie panel would not stringify correctly if mode was changed