Move random seed prior to first random() call