Fix issues caused by order of calls to sizeToFit. closes #77