[img view] fixed height bug when width equals max-width