[BUG #7418] Do not apply the keep frame if the animation has been stopped before end.