Fixed a bug that produced wrong margins when plotting a set of variables with two shared axes.