State Auto-Removal Timing Turn End Happening outside battle

I have the following state in my game. Gaining the state outside of battle and walking around for about ~15 seconds (however many steps that comes out to) removes the state from the character.
1727487387408.png


Removing the Auto-removal timing fixes this but of course it then will last the entire next battle the player gets into which is not what was wanted. Is this a bug or something I'm missing?
Here is my plugin list for reference if needed.
1727487568067.png


After researching it seems RPG Maker treats a "turn" outside of battle as ~20 steps. Is there a way to disable this so it only goes away during battle turns?
try using this as a plugin
Code:
Game_Actor.prototype.turnEndOnMap = function() {
    if ($gameParty.steps() % this.stepsForTurn() === 0) {
        //this.onTurnEnd();
        if (this.result().hpDamage > 0) {
            this.performMapDamage();
        }
    }
};
try using this as a plugin
Code:
Game_Actor.prototype.turnEndOnMap = function() {
    if ($gameParty.steps() % this.stepsForTurn() === 0) {
        //this.onTurnEnd();
        if (this.result().hpDamage > 0) {
            this.performMapDamage();
        }
    }
};

Perfect thank you!

Original thread: https://forums.rpgmakerweb.com/threads/state-auto-removal-timing-turn-end-happening-outside-battle.172214/