Solve the bug: Sometimes RenderTexture not drawn after a background/foreground

The reason is :