Fix font loading bug