fixed resizing issue when font is not cached