Move font initialization out of onEnter