VE_SFont disabling smoothing lag (PAID)

My game's played in fullscreen and has pixel-perfect graphics. To achieve that I used this script which is disabling smoothing when loading a map and new visual elements on the screen.
I'm also using VE_SFont which replaces all letters in the show message window with images. The problem is that the game doesn't know what to do with SFonts and it's constantly disabling its smoothing which results in a significant FPS drop.

Is there any way to fix it?
I think the solution would be to make files from SFONTS folder and exception, but I have no skill to do this.

1605436165498.png
Here's the Scripts' part where the exception for the SEFonts folder should be added:
Code:
<script>
            ImageManager.loadBitmap = function(folder, filename, hue, smooth) {
            if (filename) {
                var path = folder + encodeURIComponent(filename) + '.png';
                var bitmap = this.loadNormalBitmap(path, hue || 0);
                console.log("disabling smoothing for " + path);
                bitmap.smooth = false;
                return bitmap;
            } else {
                return this.loadEmptyBitmap();
            }
        };
         </script>   
        <script type="text/javascript" src="js/main.js"></script>
<style type="text/css"> CANVAS{image-rendering: pixelated;}</style>
    </body>

</html>

Original thread: https://forums.rpgmakerweb.com/threads/ve_sfont-disabling-smoothing-lag-paid.129936/