Don't throw when ::getDefaultCharacterWidth is called while detached