fix excessive getWidth calls (40% faster label rendering)