Fixed bug in D3DTexture2D && D3DTextureCube::SetData() when not setting the whole texture.