Fix issue with margin notes being cut off at edges.