This helper was failing to account for the pixel stride alignment requirements.
approved this merge request
merged