Nope. All of my attempts to track down the issue have failed.
Printable View
You could work around it withorCode:if type(cImage) != 'userdata'
Code:if type(cImage) == 'image'
Hey all, I think I got it fixed finally. v1.9.0 is out and should fix this problem.
I posted this on discord but I'll post it here too.
I looked into this issue and found it is reproduceable with just Indicators loaded (haven't tried it with Spell Tokens, but if they're the same system them they'll have the same problems). It's a result of invisible widgets that Indicators gives all tokens. These invisible widgets seem to not obey the normal z-layering rules that tokens do. So even if token A is above token B, token B's widget will be above token A. Thus when you click on the stack, you get token B, since you clicked on its widget. I was able to confirm this by disabling the invisible widgets in Indicators. Doing so produced the desired behavior, both with and without Natural Selection.
This sounds like a bug in how widgets are processed, and might need to be something Smiteworks fixes on their end. Other than that, I can't do anything from my side as the behavior occurs even without Natural Selection loaded. It just so happens that NS is intended to work in exactly the weird and potentially buggy space that this behavior occupies