Fix issues with zoomOutToFit