Selection Window Help

(Not sure if this is the right place, as I guess it could fall under a few categories, but I chose this one as I'm unsure if it's possible with JS.)

I recently started working on a Window skin, and this is my selection graphics:
Spoiler: Graphic
selection.PNG
However, in game it looks like this:
Spoiler: Problem
problem.PNG
As you can see, it works fine on the item screen (as it's formatted for small selections) but it is destroyed in the item category menu. While searching through rpg_windows.js i was unable to find how the selection window is drawn, just that it calls it into memory. Does anyone have an idea of a solution? I though about using a sprite but it sounds like it would be lots of effort for a small detail.

Thanks for reading 🙂
Not sure if it'll fix the problem but you could maybe try SRD's Window Frame Anti Stretch Plugin
If you wanted to take a look at the way the windowskin is assembled, you'll want to find the Window class in rpg_core.

Specifically, go to line 6080, which is where all parts of the window are created:
Code:
Window.prototype._createAllParts

Original thread: https://forums.rpgmakerweb.com/threads/selection-window-help.81851/