Rpg Maker Mv - Remove smooth

Hi people!
I'm trying to achieve a way that will remove the smooth when stretching the image.

I'm making a game for mobile.
And in my tests, if I put the resolution to "any number 1104 x 720" The graphics look fine in several phones.
But the Rm Mv character looks really small using 720. I cannot change the character size because that would imply a lot of modifications in tilesets etc.
So, I tried to put it to a resolution smaller, like (1104 or 960) x 576.
And with both, the mobile phone stretches the screen making the fonts smooth and the tilesets and character too. But the size looks good!
Take a look:
Spoiler: Title - With Stretch and without
AtFLssy.png

ONtOvyL.png

Spoiler: Map - With Stretch and without
5Wjqfeo.png

9dVWoei.png

So, what can I do?
Any way to get around this?
I could've sworn I added this to tips and tricks or js snippets but here you go.
Code:
//-----------------------------------------------------------------------------
// * Remove smoothing from graphics
//-----------------------------------------------------------------------------
Graphics._centerElement = function(element) {
    var width = element.width * this._realScale;
    var height = element.height * this._realScale;
    element.style.position = 'absolute';
    element.style.margin = 'auto';
    element.style.top = 0;
    element.style.left = 0;
    element.style.right = 0;
    element.style.bottom = 0;
    element.style.width = width + 'px';
    element.style.height = height + 'px';
    element.style["image-rendering"] = "pixelated";
    element.style["font-smooth"] = "none";
};

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/rpg-maker-mv-remove-smooth.113865/