Fix an issue that scales fonts to 0.

[FIXED]     When setFont: is called before a window exists, all fonts become 0 size.