This causes the animation to vanish as soon as the harvester undocks. You should be able to fix this by making the animation always visible, and using overlay.PlayThen with a completion action that repeats the animation while docked is true. The Docked notification would then set the flag and start the animation going (if necessary).