Fix some missing/black screens in FBO to memory mode
Merge pull request #3736 from raven02/patch-3

Fix some missing/black screens in FBO to memory mode