Wow, thanks a lot for the detailed report! I don't know when I'll be able to work on the game again or if I will at some point (it's been more than 2 years since I last updated it), but if I do, I'll make sure to check this scenario and fix it.
Thanks again for playing it and mentioning the bug 🙇