Dark_Ansem,
Check out
https://github.com/Sinistralis-DOS2-Mods/Ascension to see how I get around it. It's hacky as hell, but it works for the most part. I need to clean up the code drastically, and it's not foolproof, but it's good enough in most cases.
I am working on a ridiculously large post detailing shortcomings I have encountered with the Engine, and this is one of them. Feel free to look for it in a few hours once I finish writing it : p