Fix Math.max(Number.MIN_VALUE, 0) issue
1.0.1