fix this.cols calculation

In Firefox the gutter value is sometimes a bit different. That causes in some use cases a cols calculation result lower than the expected cols result. Using Math.round instead of Math.floor fixes this problem here.