Due to the comments received I made some changes, I have reviewed and adjusted the hitboxes of the player and the enemies.
The death system has been changed, now when entering a new room there will be a checkpoint, so when player die they can restart from the current room.
I hope these changes help you better enjoy the game experience, thank you all.