Thank you for playing and feedback!
I didn't realize the situation when the enemy is standing in the door. Now I understand the bug.
Yeah, the self-damage mechanics aren't very good, I just experimented with it and it doesn't seem to work! Thanks!