Fix callback issue when loading fonts