Fixed reentrant event updating balance multiple times

Fixes #1294