workaround for updateFrame & RenderFrame sync

workaround for updateFrame & RenderFrame sync