Font loading bug fix