Try to fix "disappearing SVG" problem for margin calculations again!