fixes to flags, but still some issues with DX11 Textures on first frame