If you were indeed flashed with the win screen and then it went to lose screen, now that is what I would call a bug. But losing as you win, I would not.
both are bugs