closed #3540, Solve the bug: Sometimes RenderTexture not drawn after a background/foreground.
Merge pull request #5401 from natural-law/issue3540

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