Bug fix in core means currentFrame is defined on start.