fix font bound detection error