Fix margin with reference image container