Evented Image Menu - Not Changing Indexes Correctly

As stated in the title, I am using an evented image menu for my current project. I used this tutorial that I used to code the menu, and have proven that it mostly works, but the indexes used to change which button is selected do not change correctly. I have tested and found that all images and buttons work correctly, it is just changing between each button that works incorrectly.

The menu has 15 possible buttons, as shown and labelled below. My goal was to be able to traverse the menu without only pressing the up and down arrow keys.
Spoiler: Menu Preview
upload_2019-11-19_4-50-31.png

The issue I am having is that when one of the arrow keys are pressed, it doesn't always map to the correct button, if it reacts at all. For example, when at index 0, pressing the up button should go to index 14. Instead, it goes to index 4.
For reference reasons, the chart I made to write out which index should map to which is included below.
Spoiler: Menu Mapping
upload_2019-11-19_5-26-29.png

The process is supposed to change the index variable when the arrow keys are pressed using "Variable = #". An example of how I implemented this event for each index is included below. The process stays the same for each of the 15 indexes.
Spoiler: Event Example
upload_2019-11-19_4-59-0.png

In the case of it causing a problem I'm unaware of that leads to this happening, I am currently using Yanfly's CoreEngine and ButtonCommonEvents plugins, Galv's ImageCache plugin, and a version of Yanfly's "Stop All Movement" plugin for VXAce updated for MV.

If anyone can offer any insight into why this might be happening, I would greatly appreciate it. Again, I know that this is not an issue with the graphics or the functionality of the buttons themselves, just moving between each button/index.

If this is in the wrong section, I apologize. This is my first time using this forum.
1) you are on the wrong forum section (will be corrected)
2) your index might be a bit incorrect while I dont see the full event.
the demo show is 5 buttons, but mine is a bit more complex that the demo, as it
has a grid indexing as well.

what you can do if this is 1 image (each with its correspond images active (can be seperated) is tehe following.

1) when you press DOWN, index +1
2) when you press UP, index -1

in this case, you have index 0, 1, 2, ,3 ,4 ,5, 6 (this apply for the left side)
the next part can be a bit more tricky,
when you want ALWAYS be index #5 on you picture. make it + 10, so it will be index 11, 21, 31 (top row)
if you are on #8, and press right, index = 12, 22, 32 (2nd row)
on the last #11 and press right, index = 13, 23, 33

now if you are on index 22 and press UP, make sure it index 21.
I hope this isn't complicated and hopefully you understand it.
but this is the best way to apporach indecing from left to right with +10.

Original thread: https://forums.rpgmakerweb.com/threads/evented-image-menu-not-changing-indexes-correctly.115404/