Change the position of "display map name" function

It doesn't work propely with resolution I use for my game. So I wonder if there is option to change it's place (so it can be on the left upper side on the screen). If it helps, I'm using VisuMZ free bundle plugins, but couldn't find anything related to being able to change the location of the displayed name.
1695453594957.png
1695453556803.png
Create a new file in js/plugins with any name, and insert this:

Code:
Scene_Map.prototype.mapNameWindowRect = function() {
    const wx = Math.floor((Graphics.boxWidth - Graphics.width) / 2); // x position
    const wy = 0; // y position
    const ww = 360; // width
    const nLines = 1; // number of lines
    const wh = this.calcWindowHeight(nLines, false);
    return new Rectangle(wx, wy, ww, wh);
};

You can safely adjust the values to your requirements.

Then, go into the Plugin Manager and activate this plugin. I recommend putting this one below your VS plugins.
Thanks, it works perfectly
(Sorry for late reply, university stuff)

Original thread: https://forums.rpgmakerweb.com/threads/change-the-position-of-display-map-name-function.161408/