fixed binding of image load to refreshSVG() call