Fixed bugs when creating textures of streaming access other than static.