Fixed MathUtil.randInt only generatring too big values