How to make an entity not hide when an animation has ended?

When I animate an entity, it disappears if the entity’s animation ends before the global animation. How can I make the entity remain visible after the animation ends?If I set the entity’s final position to the end time of the global animation, the orientation of the entity will be incorrect.

Sandcastle example

https://sandcastle.cesium.com/#c=zVhtb9s2EP4rhD/JqyrbeVvjJMW8JGszOE0Qey2GuRhoibaJUKRAUnHSIv99xxdRUuIgCYZhDdqYpu6OvOfunjslFVxpdEPJmkh0hDhZo2OiaJknn+1eNOuk9vux4BpTTuSsE6PvM44Q5Qvxq7gdogVmisSo1zuhCs8ZQWfuCVrTbEm0kVWEkVRTwc94RlOshdygFoTAtJeyuitRsmzEaY41GSItS6uFTrnVwvYBaCkjrImUcM1h5cXUfU8WUuRfhGSZ34i68Yzfdw9mfMZ7PW+K0eVKU75Ec6xIhuAiegXXKjkqhKLmjBl3UCUqJZwkSybmJCFWe1wpH9krti1npNAruJyyEkqAYVgoNCfwmdlj/M1RBmgUBcEy2XiYtTQFQ6MlSCvt/WmfOiHa2pSYZyJHvMznEF5FwKmFkCgFsKjShGskiSqZVnCWB+wc61WiiL6yqp+s5gQUo+1uw/hclDxTSCyQKMEwzUtmY4A0zcmMpzarlMZSw8W85d9LRjE/gSDaaJhFZPLNLrb6g90YbcE/+Bjsdc1hlRVRbDSCs2xCQCZTkU0Tc1psVtt7ffvZSOZaLerOuPOkNj94pf13L7Lf653ja5M+klQFRhXCLjIZ6EkIh8GrDnTKRHqd2JOm8ACuZddmn4Plg0eCoghy4MZTcmkpJQT7JSbtb4j9ktSYHIe95Hg8Or88PTmA+hsLiIv3hvDsgR1ICE0LRi2rbPWbeQm3YEAkSItm4riMClYqqeSbEPlURA5962aF7gcoCgmII1zleUplCvYkKrCGcuJAQFB1N1jemapbEVOhJtUXJXc8k4q8KDU5Bj1mFH+zDBABNDGCe8VgOKOl6jrCcwlTSFEQqe/abDnBecFIdul54tILWYCRuYKhELs2BRgxAIKChf4BfBwemZQ1qzdHaGfXn1adZ66AuarDYStUiyu3H1F3RCWuXZCf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