Fixed CSS issue in gallery rendering in item edit form.