I know about this bug! Sorry you encountered it on the final boss. After the game jam rating period I will be updating the game with bug fixes as well as additional content!
The skulls are supposed to not appear within a certain radius of the player, but it's possible for the player to move into that radius while they're appearing. I might be able to tweak this.