Missed image info reset

In the case that calling clear_img with different dimensions to the
current image, height and width properties will now stay correct.