Fix bug in handling the end-of-movie in MoviePlayer.PlayAnimation

In particular, it wasn't recognizing when the movie had been stepped through all the way to the end, was allowing the movie to loop around and play its first frame before noticing it was ready to be removed.