Added public slice currentFrameIndex property