fix handling of the restart-animation bit