fix domain value on image select widget when not using cloudfront