Fixed #4720: Fix a small bug for cc.randomMinus1To1