Fix truncateTexturePos with Texture2DArray