Onscreen Button HotFix

-Fixed onscreen buttons, issues with arrays being out of bounds

The onscreen buttons now work