Not sure how it happened but while on the boss fight I think I hit a barrel and when it damaged me I started flashing in the invincibility thing infinitely. Not sure how to re-create it.