Ahaha! Wonderful! Those barrels are a bughive! Thank you for finding out!
You should be able to bounce on the boss without taking damage if you keep using the hammer, but it seems there is some collision issue. I'll look into it. Thank you for reporting!