handle emoji density scaling more correctly