Fix distorted image when decoding some JPEGs using VMETA