We need to fallback on Math.random if an exception was thrown by getRandomValues.