When changing the height from 300 to 30 then back to 300, the image did not show!

This bug is due to the keys we assign to the React component are not unique each time.
Fixed that.