Fixed get_image_height/width