Fix some missing/black screens in FBO to memory mode