You could have accidentally purchased an item after the third Bonus Level Up! or you could have accidentally paid $50,000 to have another go at winning a higher amount of donuts. It's much more likely to be the former or both together; the total that has been lost is $93,000. If this is not the case, it could be a bug.