[qtbase] Backport fixes for animation system.