Fix Bug: image height is 0