Allow animation callback to prevent resetting to first frame by returning `false`.