Texture rendering works properly