MZ [SOLVED] Game battle scene acting weird after one battle


So, on this video you can see how after finishing a battle, game battle scene has some changes to it, in particular actor window becomes higher, and skill name display on use is getting very lowered, all down to above actor window.
This thing was occuring for quite some time already, but I didn't really wanted to share on it, since there is no actually useful info I can give to solve that. I tried to disable every plugin I got beside VisuMZ ones, and it changed nothing, so that's what I know for sure. In meantime I will continue to dwelve into that, but thought I could as well post it here, since maybe someone knows anything on it. It's very strange.
First of all. I want to kill myself for being so stupid.
Second of all.
I found out what did that.
After a half and day of searching.
<JS Pre-Start Battle>
Scene_Battle.prototype.logWindowRect = function() {
const wx = 0;
const wy = 300;
const ww = Graphics.boxWidth;
const wh = this.calcWindowHeight(10, false);
return new Rectangle(wx, wy, ww, wh);
};

Scene_Battle.prototype.statusWindowRect = function() {
const extra = 10;
const ww = Graphics.boxWidth - 192;
const wh = this.windowAreaHeight() + extra;
const wx = this.isRightInputMode() ? 0 : Graphics.boxWidth - ww;
const wy = 150 + Graphics.boxHeight - wh + extra - 4;
return new Rectangle(wx, wy, ww, wh);
};

</JS Pre-Start Battle>
I had that random code in one of actors notetags.
So, as usual, if some lost soul sees that, DO NOT put random code in your actor notetags.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-game-battle-scene-acting-weird-after-one-battle.163238/