Animation now stops on last frame when not looping