Fixes problems with SC.GridView when its width goes to 0 (which would calculate infinite items per row).