Negative margin should not apply to overlays (#5181)