Improve file/image set url for inputs that are not direct children of the form (i.e. in a colorbox)