Fix setting early terminal font function