Fixing margin collapse - makes vertical spacing between figs, code and paragraphs consistent