Fixed issue where front-end of site gets loaded when no elementMedia
value exists