Not sure if this is a bug but I have tried to beat the demons minigame but the first section with the laser shooting eyeballs there is a chance if you get stuck in the sides before the end of the sequence the box will shrink you into the eyes laser and take damage even if you avoided everything else.