corrects padding on third image block