fix problem with font size caching which could result in debug console text being messed up