Fixed the issue. Now seeds randomness using milliseconds.