Fix issue when scaling hidden images that are later displayed.
Minor tweaks.