Fix: [ bug #1372 ] Margin calculation does not work in proposals