Potential shader compatibility fix
Fix priority bug in AiSequence::stack (Fixes #1959)