function _renderFrame(time) {
	eventEmitter.emit(TICK, time);
	// schedule the next frame update
	if (_animFrameId !== -1) {
		_animFrameId = globalThis.requestAnimationFrame(_renderFrame);
	}
}
this is only called when using requestAnimFrame stuff
@param {number} time - current timestamp in milliseconds
@ignore