WebView 3D loading SVG only, not updating the SVG in the page

I have been trying to assist a friend in troubleshooting a problem with the Android version of WebView 3D. Basically, a URL click should load a new svg image within the page content, and it does so for every other device OS. However on Android, the svg loads and page redirects to just that svg.

Here is the onLoad function:

function onLoad() {
    findPhase();
}
function highlightImages(placement, item) {
    if (item.contentDocument) {
        var images = item.contentDocument.getElementsByTagName("svg")
        for (var j = 0; j < images.length; j++) {
            images[j].style.setProperty('--color-' + placement, '#FFFF00')
        }
    }
}

And this is what code it builds in the page:

<div class="finder-image" id="find-ascent-1" style="display: block">
   <div class="spacer"></div>
   <object class="image" type="image/svg+xml" onload="highlightImages('B9-1', this)" data="../location_images/Location_9.svg"></object>
   <div class="note">NOTE: Something must happen here</div>
</div>

I tried looking through the source code to determine the problem. My suspicion is that it has something to do with the call but I can’t seem to prove it.