In Edgeless, the image size should be read when converting attachment to image: * fix `size` * fix `xywh`