I figured out how to get modding up and running for this - I made a BattleCameraFix mod that should prevent this from happening regardless of the reason it's happening by just... not checking the defender position at all, if it's bothersome enough for you to want a temp fix. If you're interested, here's the gitlab where i'm keeping everything - start with Installation, which will walk you through injecting oxide and patching in the hooks the mods need, then the mods folder for the specific mod
https://gitlab.com/underfelt/indie-nsfw-mods/-/tree/main/DungeonKeepHer