Fix "Image: Unable to open..." errors on refresh in some cases
The error usually occurred because the substitutes were not applied on the measure value on the first time. This change ensures that measure options are read prior to reading meter options.