Fix parse image size