Parsing Project File - Cel Size Larger Than Canvas

I’ve noticed that the cel width and height often doesn’t match the canvas dimensions. Normally, it’s just clipping the image to save space but occasionally it does the opposite. I’m working with some 16x16 project files and some of them are returning dimensions of 16x24. When I extract the image data, there’s some junk pixels occupying the out-of-bounds regions and I’m not sure why. My current theory is that this occurs in images that have been resized. I’ve been able to work around it by copying the image to a new project file and overwriting the old one but it’s not ideal. Has anyone else encountered this problem?