Fixed a bug caused by the last commit that would scale the grid height to one when the minimum value of the slider was set to 1.