Fix bug with image not updating when chaning stretch