Fix an FC when image width or height <= 0