Fixed a major bug in the sizing.