[4.12] Animation jitter: transition happens even when it shouldn't

As always, I’'ve found issue on my own. =)

It’s a bug of unknown origin - apparently connected to migration from 4.11 to 4.12.

I deleted old variables and created new ones, absolutely the same. And it started to work.

Lesson I’ve learned here - do not migrate without strong reasons! With every migration game
breaks.