If tileSources is set to a (valid) string and referenceStrip is set to true, the referencesStrip shows invalid viewer.

If tileSources is set to a (valid) string and referenceStrip is set to true, the referencesStrip shows invalid viewer.

This should fix #510