Your style function is registering the event UNIT_AURA.
The headeraura engine is also registering UNIT_AURA.
Your style function is always call before the headeraura ! That's the big problem. You can't do nothing for that.
So if you are able to delay your style function to the next frame, it should work as expected.
|