Fix typo in setDimensionsFromLargestSlide.