Fixed MathUtil.randInt only generatring non-negative integers